.class public Lcom/netease/newsreader/bean/DetailPageBean;
.super Ljava/lang/Object;
.source "DetailPageBean.java"

# interfaces
.implements Ljava/io/Serializable;


# static fields
.field public static ExpiredDuration:J = 0x0L

.field private static final serialVersionUID:J = 0x93729466920fab2L


# instance fields
.field data:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .prologue
    .line 10
    const-wide/32 v0, 0xa4cb800

    sput-wide v0, Lcom/netease/newsreader/bean/DetailPageBean;->ExpiredDuration:J

    .line 7
    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .prologue
    .line 7
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 11
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/netease/newsreader/bean/DetailPageBean;->data:Ljava/util/HashMap;

    .line 7
    return-void
.end method

.method public static getSerialversionuid()J
    .locals 2

    .prologue
    .line 22
    const-wide v0, 0x93729466920fab2L

    return-wide v0
.end method

.method public static isExpired(Ljava/lang/String;)Z
    .locals 10
    .parameter "myDate"

    .prologue
    const/4 v5, 0x0

    .line 26
    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string v6, "yyyy-MM-dd HH:mm:ss"

    invoke-direct {v1, v6}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 29
    .local v1, df:Ljava/text/SimpleDateFormat;
    :try_start_0
    invoke-virtual {v1, p0}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    .line 30
    .local v0, date:Ljava/util/Date;
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v8

    sub-long v3, v6, v8

    .line 31
    .local v3, l:J
    sget-wide v6, Lcom/netease/newsreader/bean/DetailPageBean;->ExpiredDuration:J
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    cmp-long v6, v3, v6

    if-ltz v6, :cond_0

    .line 32
    const/4 v5, 0x1

    .line 38
    .end local v0           #date:Ljava/util/Date;
    .end local v3           #l:J
    :cond_0
    :goto_0
    return v5

    .line 36
    :catch_0
    move-exception v2

    .line 38
    .local v2, e:Ljava/lang/Exception;
    goto :goto_0
.end method

.method public static setExpiredDuration(J)V
    .locals 0
    .parameter "duration"

    .prologue
    .line 43
    sput-wide p0, Lcom/netease/newsreader/bean/DetailPageBean;->ExpiredDuration:J

    .line 44
    return-void
.end method


# virtual methods
.method public getData()Ljava/util/HashMap;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation

    .prologue
    .line 14
    iget-object v0, p0, Lcom/netease/newsreader/bean/DetailPageBean;->data:Ljava/util/HashMap;

    return-object v0
.end method

.method public setData(Ljava/util/HashMap;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 18
    .local p1, data:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    iput-object p1, p0, Lcom/netease/newsreader/bean/DetailPageBean;->data:Ljava/util/HashMap;

    .line 19
    return-void
.end method
